from rest_framework.serializers import ModelSerializer

from apps.base import models


class AuthSerializer(ModelSerializer):
    class Meta:
        model=models.UserInfo
        fields=['username','password']